package com.jackiechan.day17;

public class Student {
    public byte by=100;
    public short so;
    public int i;
    public long l;
    public float f;
    public double d;
    public boolean b;
    char c;
    private String s;

    public Student() {
        System.out.println("无参构造");
    }

    public Student(int i) {
        System.out.println("int参数构造");
    }

    private Student(String s) {
        System.out.println("String参数构造");
    }

    Student(double d) {
        System.out.println("double参数构造");
    }

    public void show() {
        System.out.println("showwww");
    }
    private void play() {
        System.out.println("play");
    }
    void playgame() {
        System.out.println("playgame");
    }

    @Override
    public String toString() {
        return "Student{" +
                "by=" + by +
                ", so=" + so +
                ", i=" + i +
                ", l=" + l +
                ", f=" + f +
                ", d=" + d +
                ", b=" + b +
                ", c=" + c +
                ", s='" + s + '\'' +
                '}';
    }
}

